package com.stone.tool.easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.InputStream;

/**
 * @author stone
 * @date 2025/7/22 17:12
 */
@Data
@HeadRowHeight(30)
@ColumnWidth(45)
public class UserTemplate {

    @ExcelProperty({"学生信息", "姓名"})
    private String name;

    @ExcelProperty({"学生信息", "年龄"})
    private String age;

    @ExcelProperty({"学生信息", "身份证号"})
    private InputStream inputStream;

//    @ExcelProperty("姓名")
//    private String name;
//
//    @ExcelProperty("年龄")
//    private String age;
}
